import axios from "./axios";


export const get:(url:string,params:any)=>any=(url:string,params:any)=>axios({method:"get",url,params})
export const post:(url:string,data:any)=>any=(url:string,data:any)=>axios({method:"post",url,data})
export const del:(url:string,data?:any)=>any=(url:string,data:any)=>axios({method:"delete",url,data})
